<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        span {
            margin-left: 10px;
            margin-right: 15px;
        }
    </style>
</head>
<body>
    <!-- margin横向重叠问题 -->
    <!-- 求文字1与文字二之间的距离为多少 -->
    <span>文字1</span>
    <span></span>
    <span></span>
    <span></span>
    <span>文字2</span>
</body>
</html>